package ee.ut.algorithmics.project;

import java.util.ArrayList;
import java.util.List;

public class Record {

	private List<String> tokens;

	public Record() {
		tokens = new ArrayList<String>();
	}

	public void addToken(String token) {
		tokens.add(token);
	}

	public String getToken(int i) {
		return tokens.get(i);
	}

	public List<String> getTokens() {
		return tokens;
	}

	public int getRecordSize() {
		return tokens.size();
	}
}